#! /usr/bin/env python3

"""
主界面
"""

from PySide2.QtWidgets import *
from ui.ui_topwin import Ui_top_window
from .view_clip import CViewClip


class CViewTopWin(QMainWindow, Ui_top_window):
    def __init__(self):
        super(CViewTopWin, self).__init__()
        self.setupUi(self)
        self.view_clip = CViewClip(self)
        self.init_ui()

    def init_ui(self):
        self.resize(int(1280*2), int(720*1.5))
        self.layout_v_top.addWidget(self.view_clip)
